﻿using BW.WMS.Core.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.WMS.Domain.Entities.Product
{
    public class StockInfoModel:BaseEntity
    {
        /// <summary>
        /// 期初仓库
        /// </summary>
        public long WareHouseId { get; set; }
        /// <summary>
        /// 期初库存
        /// </summary>
        [Required]
        public int Number {  get; set; }
        /// <summary>
        /// 期初库存金额
        /// </summary>
        [Required]
        public decimal Price { get; set; }
        /// <summary>
        /// 库存上线
        /// </summary>
        [Required]
        public int WareHouseTop { get; set; }
        /// <summary>
        /// 库存下限
        /// </summary>
        [Required]
        public int WareHouseLow { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(500)]
        public string Remark { get; set; }
    }
}
